package com.shop.cereshop.app.param.buyer.blacklist;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description:  添加黑名单请求参数
 * @author zdd
 * @date 2025/11/12 16:37
 * @version 1.0
 */
@Data
@ApiModel(value = "AddBlacklistParam", description = "添加黑名单请求参数")
public class AddBlacklistParam {

    @ApiModelProperty(value = "用户ID（拉黑发起方）")
    @JsonIgnore
    private Long buyerUserId;

    @ApiModelProperty(value = "被拉黑的用户ID", required = true)
    @NotNull(message = "被拉黑用户ID不能为空")
    private Long blockedUserId;

    @ApiModelProperty(value = "拉黑场景：0-拉黑 1-我不看他")
    private Integer blockScene;

}
